/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DataLogic;

/**
 *
 * @author GUR04686
 */
public class TypeInfo {
    protected String name;
    protected TypeEnums type;
    protected javax.swing.tree.DefaultMutableTreeNode containerNode;
    
    public TypeInfo() {
        // empty constructor
    }
    
    public TypeInfo(String name, TypeEnums type) {
        this.name = name;
        this.type = type;
    }
    
    public String get_name() {
            return name;
    }
    
    public void set_name(String name) {
        this.name = name;
    }
    
    
    public TypeEnums get_type() {
        return type;
    }
    
    @Override public String toString() {
        
          return name;
    }
    
    public void setContainer(javax.swing.tree.DefaultMutableTreeNode node) {
        containerNode = node;
    }
    
    public javax.swing.tree.DefaultMutableTreeNode getContainer() {
        return containerNode;
    }
    
    
}

